package com.wwwarehouse.resource_center.bean.rules;

import java.util.List;

/**
 * @author Joseph on 2017/9/4.
 *         <p/>
 */

public class AllocationConditionBean {

    /**
     * conditionCode : is_work
     * conditionName : 是否在岗
     * conditionValues : [{"valueCode":"yes_work","valueName":"在岗"},{"valueCode":"no_work","valueName":"不在岗"},{"valueCode":"not_matter","valueName":"不限"}]
     */

    private String conditionCode;
    private String conditionName;
    private List<ConditionValuesBean> conditionValues;

    public String getConditionCode() {
        return conditionCode;
    }

    public void setConditionCode(String conditionCode) {
        this.conditionCode = conditionCode;
    }

    public String getConditionName() {
        return conditionName;
    }

    public void setConditionName(String conditionName) {
        this.conditionName = conditionName;
    }

    public List<ConditionValuesBean> getConditionValues() {
        return conditionValues;
    }

    public void setConditionValues(List<ConditionValuesBean> conditionValues) {
        this.conditionValues = conditionValues;
    }

    public static class ConditionValuesBean {
        /**
         * valueCode : yes_work
         * valueName : 在岗
         */

        private String valueCode;
        private String valueName;
        private Boolean isSelect = false ;
        public String getValueCode() {
            return valueCode;
        }

        public void setValueCode(String valueCode) {
            this.valueCode = valueCode;
        }

        public String getValueName() {
            return valueName;
        }

        public void setValueName(String valueName) {
            this.valueName = valueName;
        }

        public Boolean isSelect() {
            return isSelect;
        }

        public void setSelect(Boolean select) {
            isSelect = select;
        }
    }
}
